function [output] = df_obj(guess, eeta, llambda, nnu, oomega, llambdaf, oomegaf)

%%% Objective for solving SS debt under domestic fringe

b = guess(1);
b_f = guess(2);

% Objective equation

f2 = nnu * (eeta-1) * (b+b_f)^(eeta-2);
c2 = oomegaf * llambdaf * (b_f)^(llambdaf-1);
f1 = nnu * (b+b_f)^(eeta-1);
AA = f2 * c2 / (c2 - f2) * (b+b_f) + f1 - oomega * (b)^(llambda);
BB = f1 - oomegaf * (b_f)^(llambdaf);

output = [AA, BB];

end
